<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>质检单详情</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<link rel="stylesheet" href="${pageContext.request.contextPath }/assets/css/layui.css"  media="all">
	<link rel="stylesheet" href="${pageContext.request.contextPath }/assets/css/toastr.min.css"  media="all">
	<style type="text/css">
		.layui-input {
			display: inline-block;
			width: 80%;
		}
	</style>
</head>
<body>
<div>
	<table class="layui-table">
		<thead>
			<tr>
				<th colspan="7" style="background-color: #DDD"><h2 style="text-align: center;">质检单详情</h2></th>
			</tr>
			<tr>
				<th>检测项</th>
				<th>检测标准值</th>
				<th>检测值</th>
				<th>检测指标数量</th>
				<th>检测指标合格数量</th>
				<th>检测指标不合格数量</th>
				<th>检测结果</th>
			</tr>
		</thead>
		<tbody id="tbody">
			<c:forEach items="${detailsList }" var="d">
				<tr>
					<td>${d.tIndex }</td>
					<td>${d.tStandard }</td>
					<td>${d.tValue }</td>
					<td>${d.tIndexValue }</td>
					<td>${d.tFineValue }</td>
					<td>${d.tBadValue }</td>
					<td>${d.tResult}</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
</div>
<script src="${pageContext.request.contextPath }/assets/layui.js" charset="utf-8"></script>
<script src="${pageContext.request.contextPath }/assets/layui.all.js"></script>
<script src="${pageContext.request.contextPath }/assets/js/jquery.min.js" charset="utf-8"></script>
<script src="${pageContext.request.contextPath }/assets/js/toastr.min.js" charset="utf-8"></script>
</body>
</html>